/*
 * author      : 吴中勤 
 * date        : 2018/8/17
 * description : sap 收到钱时的请求
 */

package com.deepexi.adapter.sdk.sap.dto.fund;

import com.deepexi.adapter.sdk.sap.SapBizConst;
import com.deepexi.adapter.sdk.sap.dto.SapBaseRequest;
import com.google.gson.annotations.SerializedName;

public class SapFundRequestBody extends SapBaseRequest {

    // BUKRS	    公司代码
    @SerializedName("BUKRS")
    private String shopCode;

    // PAYTIME	    付款时间
    @SerializedName("PAYTIME")
    private String paidAt;      // yyyymmddHHMMSS

    // WRBTR	    凭证货币金额
    @SerializedName("WRBTR")
    private String amount;

    // USERID	    登录账号 审批这项收款的员工的id
    @SerializedName("USERID")
    private String operatorId;

    // TELNUM	    电话
    @SerializedName("TELNUM")
    private String memberPhone;

    // ORDERID	    订单号
    @SerializedName("ORDERID")
    private String orderId;

    // ORDERSIGN	订单标记 必须，1正单 2退单
    @SerializedName("ORDERSIGN")
    private final String orderSign = SapBizConst.ORDER_SIGN_POSITIVE;

    // REFORDERID	参考订单号（原订单号） 退单时必须，正单为空
    @SerializedName("REFORDERID")
    private final String referOrderId = "";

    // CUSTOMER	客户ID 会员id
    @SerializedName("CUSTOMER")
    private String memberId;

    // FUNDTYPE	用途
    @SerializedName("FUNDTYPE")
    private String fundType;

    // PAYORDERID	支付单号
    @SerializedName("PAYORDERID")
    private String payOrderId;

    // PAYWAY	    支付方式
    @SerializedName("PAYWAY")
    private String payChannel;  // 1=银联，2=支付宝，3=微信，4=...

    // SCENEID	    支付场景编号
    @SerializedName("SCENEID")
    private String sceneId;

    // BANKN	    收款银行账号
    @SerializedName("BANKN")
    private String bankNo;

    // SAPORDER	SAP订单号
    @SerializedName("SAPORDER")
    private String sapOrderNo = "";

    // === setter && getter ===

    public String getShopCode() {
        return shopCode;
    }

    public String getPaidAt() {
        return paidAt;
    }

    public String getSceneId() {
        return sceneId;
    }

    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getAmount() {
        return amount;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public String getOrderId() {
        return orderId;
    }

    public String getOrderSign() {
        return orderSign;
    }

    public String getReferOrderId() {
        return referOrderId;
    }

    public String getMemberId() {
        return memberId;
    }

    public String getFundType() {
        return fundType;
    }

    public String getPayOrderId() {
        return payOrderId;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public String getSapOrderNo() {
        return sapOrderNo;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public void setPaidAt(String paidAt) {
        this.paidAt = paidAt;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public void setFundType(String fundType) {
        this.fundType = fundType;
    }

    public void setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public void setSapOrderNo(String sapOrderNo) {
        this.sapOrderNo = sapOrderNo;
    }
}
